Adding open file location option in notification - #283
Conversation
|
This PR feel a bit unnecessary to me after raising this pr😅 Rest is maintainers choice. |
I would prefer this pr first, because I am considering to replace the dir library. But first I want to hear from other maintainers @Gigas002 @Shinyzenith what do you think about this pr? |
|
@Suryansh-Dey |
09db5e3 to
6de02db
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #283 +/- ##
==========================================
- Coverage 17.23% 17.01% -0.23%
==========================================
Files 20 20
Lines 3057 3098 +41
==========================================
Hits 527 527
- Misses 2530 2571 +41
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Done, now people can click the notification and open the saved folder. Since most file explorer shows the most recent image on top, user can rename etc. on it |
|
I don't know why clippy is raising this error in CI (It don't in my neovim) |
|
|
What should I do then? |
|
Gating |
ff926da to
083db45
Compare
|
Done, Thank you for help. I actually I thought |
|
@Suryansh-Dey |
Decodetalkers
left a comment
There was a problem hiding this comment.
it works well, and the modification is also good, so LGTM
|
@Suryansh-Dey |
Feature
Now you can click the notification to open file location. Similar to windows. So you can easily rename, move, delete or view it.
Reason of kernel fork
I did try tokio::spawn but issue is child processes get killed when parent process exits.
Now I may disown the thread but in many cases it creates different issues due to parent getting killed and was too error prone to handle.
This might look scary at first glance but is a very safe way to do it.
Ready for you feedback.